package com.adam.mbt.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;
import org.springframework.stereotype.Component;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
//自定义别名
@Component
@Alias("user")
public class User {
    private Integer userId;

    private String userName;

    private String password;

    private String phone;


}